import Vue from 'vue'
import App from './App.vue'
import { createRouter } from  './router'
import { createI18n } from './i18n'
import axios from 'axios'

import './assets/style/reset.scss'
import './assets/style/common.scss'

Vue.config.productionTip = false
Vue.prototype.$ajax = axios.create({
  baseURL: "http://193.112.178.20:7777/"
})

export {
  App,
  createI18n,
  createRouter
}

// new Vue({
//   router,
//   i18n,
//   render: h => h(App)
// }).$mount('#app')

// export const createApp = () => {
//   const router = createRouter()
//   const i18n = createI18n()
//   const app = new Vue({
//     router,
//     i18n,
//     render: h => h(App)
//   })
//   return { router, i18n }
// }

